package com.tfblog.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tfblog.blog.entity.Type;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tfeng
 * @since 2021-04-26
 */
public interface TypeMapper extends BaseMapper<Type> {

    @Select("SELECT tf_type.name from tf_type")
    List<String> findTypeNames();

}
